<?php

namespace app\admin\controller;

use app\admin\model\Gorder;
use app\common\controller\AdminController;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;

/**
 * @ControllerAnnotation(title="Gorder")
 */
class Pendingpay extends AdminController
{
    //待付款
    public function index(){

        $arr = Gorder::
        join('receiving_address','receiving_address.location_id=ea_order.location_id')
            ->where('order_status',0)
            ->paginate(2);
        return view('Order/PendingpayList',compact('arr'));
    }

    //添加
    public function CompletedAdd(){

    }

}